package chapter6.practice;

public class CarTest {
    public static void main(String[] args) {
        Car tractor = new Tractor();
        tractor.drive();
        Car trunk = new Truck();
        trunk.drive();
        System.out.println("卡车油箱大，不怕没油");
    }
}
